home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19980424-19980901
/
000195_news@newsmaster….columbia.edu _Fri Jun 12 10:19:25 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA21096
for <kermit.misc@watsun.cc.columbia.edu>; Fri, 12 Jun 1998 10:19:24 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA00456
for kermit.misc@watsun; Fri, 12 Jun 1998 10:19:24 -0400 (EDT)
Message-ID: <3581331C.40C21962@eurospill.no>
Date: Fri, 12 Jun 1998 15:54:36 +0200
From: Morten Knudsen <morten@eurospill.no>
X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.29 i586)
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Scripts: INPUT timed out
References: <357E3AF1.E299BFB3@eurospill.no> <6lm4sa$p24$1@apakabar.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 195.18.252.211
X-NNTP-Posting-Host: 195.18.252.211
Lines: 50
X-Complaints-To: abuse@i.telia.no
Path: news.columbia.edu!panix!logbridge.uoregon.edu!news-feed.inet.tele.dk!bofh.vszbr.cz!uninett.no!newsfeed50.telia.com!d2o202.telia.com!195.18.252.211
Xref: news.columbia.edu comp.protocols.kermit.misc:8868
Frank da Cruz wrote:
>
> In article <357E3AF1.E299BFB3@eurospill.no>,
> Morten Knudsen <morten@eurospill.no> wrote:
> : I'm just starting to learn kermit script programming. My problem is
> : that my input commands are all timing out. Also if I type interactivly
> :
> : output AT\13
> : input 10 OK
> :
> : the input command fails. This .kermrc
> :
> : set line /dev/modem
> : set speed 19200
> : set modem usrobotics
> : set dial prefix 0
> : set dial method tone
> : set input timeout-action quit
> : output AT\13
> : input 3 OK
> : output AT\13
> : input 3 OK
> :
> : fails on the second input line. Any hints?
> :
> Most likely, it is behaving as it should -- i.e. not seeing the second
> "OK" within 3 seconds. I agree you *should* see it within 3 seconds, but
> if the INPUT command times out, it means the expected text did not arrive
> within the given interval.
>
> Another possibility is confusion with the communications port driver. I
> notice you are using "/dev/modem", which probably means Linux? And /dev/modem
> is what? /dev/cua0? /dev/ttyS0? The different drivers behave differently.
> Unfortunately, this started happening (or was discovered) after C-Kermit 6.0
> was released. In that case, you'll have better luck with C-Kermit 6.1:
>
I managed to solve the problem. I had to do:
input 3 OK\13\10
for some reason. But just for the AT commands. Apart from that
all is normal. This is a USRobotics Courier on Digital Unix.
/dev/modem is just a link. I haven't tried C-Kermit 6.1 yet.
BTW, do anybody know how to get other speeds than 9600 and 19200
(e.g. 14400, 28800, 33600)?
> http://www.columbia.edu/kermit/ck61.html
>
> - Frank
Morten.